package com.basic.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 系统用户
 *
 * @author maoheng
 * @email 15738859597@163.com
 * @date 2024-11-22 15:06:22
 */
@Data
@TableName("sys_email_config")
public class SysEmailConfigEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long emailConfigId;
	/**
	 * 邮箱地址
	 */
	private String emailUrl;
	/**
	 * 密码
	 */
	private String password;
	/**
	 * 1-阿里云企业邮箱 2-QQ邮箱
	 */
	private String emailType;
	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;
	/**
	 * 创建者ID
	 */
	@TableField(fill = FieldFill.INSERT)
	private Long createUserId;

	/**
	 * 未读笔数
	 */
	@TableField(exist = false)
	private int unReadCount;
}
